#include <stdio.h>
#include <string.h>


void my_strcpy(char *dst,char *src){
	int i = 0;
	while(*(src+i) != '\0'){
		*(dst+i) = *(src+i);
		i++;
	}
	*(dst+i) = 0;
}

int main(int argc, char const *argv[])
{
	char src[] = "hello xuemingqiang";
	int n = sizeof(src)/sizeof(src[0]);
	printf("n==%d\n", n);

	char dst[100];
	my_strcpy(dst,src);
	printf("dst == %s\n", dst);
	return 0;
}